﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileSynchronization.Helpers
{
    public class ConsoleColorContent : IDisposable
    {
        ConsoleColor Color;

        public ConsoleColorContent(ConsoleColor color)
        {
            Color = Console.ForegroundColor;
            Console.ForegroundColor = color;
        }

        public void Dispose()
        {
            Console.ForegroundColor = Color;
        }
    }
}
